package com.cup.wx.demo.remote;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import com.cup.wx.demo.dto.TenantDto;
import com.cup.wx.demo.hystrix.TenantClientHystrix;

@FeignClient(value = "cup-service-plat", fallback = TenantClientHystrix.class)
public interface TenantClient {
	
	@GetMapping("/demo/getall")
	List<TenantDto> getTenantAll();
}
